package com.qpf.mycms.api.exception;

import lombok.Getter;

@Getter
public class ServiceException extends RuntimeException{
    private Integer code;
    private final String message;
    public ServiceException(String message) {
        this.message = message;
    }
    public ServiceException(String message, Integer code) {
        this.message = message;
        this.code = code;
    }

}
